//
//  NewsModel.m
//  item-NetEaseNews-tyw
//
//  Created by tyw on 15/9/30.
//  Copyright (c) 2015年 tyw. All rights reserved.
//

#import "NewsModel.h"

@implementation NewsModel

- (NSDictionary*)attributeMapDictionary{
    
    //@"属性名": @"数据字典的key"
    NSDictionary *mapAtt = @{@"headerNewsArray":@"ads",
                             @"headNewsId":@"cid",
                             @"headNewsImgArray":@"imgextra",
                             @"content":@"digest",
                             @"newsId":@"docid",
                             @"imgUrl":@"imgsrc",
                             @"date":@"lmodify",
                             @"photosetID":@"photosetID",
                             @"replyCount":@"replyCount",
                             @"skipID":@"skipID",
                             @"title":@"title",
                             @"newsType":@"tname",
                             @"source":@"source",
                             @"specialID":@"specialID",
                             @"subtitle":@"subtitle",
                             @"newsWebUrl":@"url",
                             @"votecount":@"votecount",
                             @"boardId":@"boardid"};
    
    return mapAtt;
}

//- (void)setAttributes:(NSDictionary *)dataDic {
//    [super setAttributes:dataDic];
//    
//    
//    
//}

@end
